export type IUserState = {
  token: string
  refreshToken: string
  name: string
  avatar: string
  roles: any[]
  info: any
  menus: any[]
  store: any[]
}

export const state: IUserState = {
  token: '',
  refreshToken: '',
  name: '',
  avatar: '',
  roles: [],
  info: {},
  menus: [],
  store: [],
}

export interface IUserInfo {
  name: string
  password: string
}
